//!@Author: DengLibin
//!@Date: Create in 2025-05-08 12:03:47
//!@Description: 
//! 
use derive_builder::Builder;
use proc_macro::table_name;
use proc_macro::GetFieldNames;
use proc_macro::HaveFieldType;
use proc_macro::StructToMap;
use serde::{Deserialize, Serialize};
use sqlx::FromRow;



use my_trait::MustHaveTableName;
use my_trait::MustHaveFieldType;
use my_trait::Struct2Map;

#[derive(Debug, FromRow, Serialize, Deserialize)]
#[derive(Builder, GetFieldNames, StructToMap, HaveFieldType)]



#[table_name("file_path")]
pub struct FilePath {
    pub id: i64,
    pub path: String,
    pub dic_id: Option<String>, //字典id
}